package www.way2inbox.comm;

public class Errorcode {
	String Res;
	public  String Errorcode(final String id){
		
		switch(id){
		case "00":
					Res="exception";
					break;
		case "01":
					Res="Invalid request";
					break;
		case "02":
					Res="Requested JSON does not contain the required fields";
					break;
		case "03":
					Res="Token is empty";
					break;
		case "04":
					Res="Invalid Token";
					break;
		case "05":
					Res="Message successfully submitted";
					break;
		case "06":
					Res="Invalid User Mobile Number";
					break;
		case "07":
					Res="Invalid Device ID";
					break;
		case "08":
					Res="Invalid Receiver Mobile Number";
					break;
		case "09":
					Res="Invalid User ID";
					break;
			
		case "10":
					Res="Message contains spam words";
					break;
		case "11":
					Res="Delivery failed as \" Receiver Mobile Number \" has opted to WAY2SMS Do not disturb registry";
					break;
		case "12":
					Res="Delivery failed as \" Receiver Mobile Number \" do not want to receive messages from \" User Mobile Number \" ";
					break;
		case "13":
					Res="SMS Day quota is completed";
					break;
					
		case "14":
					Res="Interstitial Ads";
					break;
					
		case "15":
					Res="No campaigns available";
					break;
		case "16":
					Res="Limited campaigns were served but not given a single lead";
					break;
	
		case "17":
					Res="Lead Exists";
					break;
		case "18":
					Res="Invite Messages";
					break;
		case "19":
					Res="InHouse Banners";
					break;
		case "20":
					Res="No campaign available for in house banners";
						break;
			
		case "21":
					Res="Suprise gifts";
						break;
			
		case "22":
					Res="No data available for suprise gifts";
					break;
			
		default :
					Res = "SORRY";
					break;
		}
		
		return Res;
		
	}
	
public  String SignUp(final String id){
		
		switch(id){
            case "00":
                Res="exception";
                break;
            case "01":
                Res="Oops there seems to be a problem. Please try again.";
                break;
            case "02":
                Res="Invalid User Mobile Number.";
                break;
            case "03":
                Res="Enable Captcha";
                break;
            case "04":
                Res="Invalid User Details";
                break;
            case "05":
                Res="Success";
                break;
            case "06":
                Res="Problem in creating account";
                break;
            case "07":
                Res="Invalid Captcha Code";
                break;

            case "08":
                Res="Invalid User.";
                break;
		
			
		default :
					Res = "Oops there seems to be a problem. Please try again.";
					break;
		}
		
		return Res;
		
	}

    public String Verif(final  String id){

            switch (id){
                case "00":
                    Res="exception";
                    break;
                case "01":
                    Res="Oops there seems to be a problem. Please try again.";
                    break;
                case "02":
                    Res="Invalid User Mobile Number.";
                    break;
                case "03":
                    Res="Enable Captcha";
                    break;
                case "04":
                    Res="Invalid User Details";
                    break;
                case "05":
                    Res="Success";
                    break;
                case "06":
                    Res="Invalid Verification Code";
                    break;
                case "07":
                    Res="Invalid Captcha Code";
                    break;

                case "08":
                    Res="Invalid User.";
                    break;

                default :
                    Res = "Oops there seems to be a problem. Please try again.";
                    break;
            }
        return Res;
    }
	
public  String Mywallet(final String id){
		
		switch(id){
		case "00":
					Res="exception";
					break;
		case "01":
					Res="Oops there seems to be a problem. Please try again.";
					break;
		case "02":
					Res="Oops there seems to be a problem. Please try again.";
					break;
		case "03":
					Res="Token is empty";
					break;
		case "04":
					Res="Invalid Token";
					break;
		case "05":
					Res="Success";
					break;
		case "06":
					Res="Invalid User Mobile Number";
					break;
		case "07":
					Res="Invalid Device ID";
					break;
		case "08":
					Res="Invalid User ID";
					break;
		case "09":
					Res="In sufficient balance";
					break;
		case "10":
					Res="Already sent request for recharge";
					break;
		case "11":
					Res="already recharge request sent for this mobile no";
					break;	
		
			
		default :
					Res = "Oops there seems to be a problem. Please try again.";
					break;
		}
		
		return Res;
		
	}

}